package com.cskaoyan.service;/**
 * @author mj
 * @date 2022-12-29 14:02
 * @describe
 */

import com.cskaoyan.bean.common.BasePageInfo;
import com.cskaoyan.bean.common.BaseRespVo;
import com.cskaoyan.bean.common.CommonData;
import com.cskaoyan.bean.marketBean.MarketAdmin;
import com.cskaoyan.bean.marketBean.MarketLog;
import com.cskaoyan.bean.marketBean.MarketPermission;
import com.cskaoyan.bean.marketBean.MarketRole;
import com.cskaoyan.bean.vo.*;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author MJ
 * @date 2022-12-29 14:02
 * @describe
 */
@Component
public interface MarketAdmin_MJ_Service {
    CommonData<MJMarketAdminListBean> list(BasePageInfo info, String username);


    CommonData<MJMarketAdminOption> option();

    MJMarketAdminCreateVO adminCreate(MJMarketAdminCreateVO param);

    MarketAdmin adminUpdate(MarketAdmin param);

    void adminDelete(MarketAdmin param);

    CommonData<MarketLog> adminLog(BasePageInfo info, String username);

    CommonData<MarketRole> roleList(BaseRespVo info, String name);

    MarketRole roleInsert(MarketRole param);

    MarketRole roleUpdate(MarketRole param);

    void roleDelete(MarketRole param);


}
